package com.auto.table;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;

public class AutoTableMain {

	/**
	 * https://blog.csdn.net/weixin_43590641/article/details/124248202
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			XSSFWorkbook wb = AutoTableXlsxUtils.getXSSFWorkbook("Car-Custom_v2.0.xlsx");
			AutoTableScriptGenerator.geneateScript(AutoTableXlsxUtils.getTableScript(wb), "gen.sql");
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
